package com.quickask;

import com.quickask.entity.AsknowQuestionSetEntity;
import com.quickask.operate.encode.Geohash;

import java.util.ArrayList;
import java.util.List;

/**
 * Created by NaSa on 2015/10/5.
 */
public class Entry {
    public static void main(String[] args) {
        AsknowQuestionSetEntity asknowQuestionSetEntity = new AsknowQuestionSetEntity();
        AsknowQuestionSetEntity asknowQuestionSetEntity1 = new AsknowQuestionSetEntity();
        System.out.println(asknowQuestionSetEntity.getQuestionId());
        System.out.println(asknowQuestionSetEntity1.getQuestionId());
        List<AsknowQuestionSetEntity> list = new ArrayList<AsknowQuestionSetEntity>();
        Geohash geohash = new Geohash();
        System.out.println(geohash.encode(22.819534,108.408852));
        System.out.println(geohash.encode(24.471340, 118.136078));
        System.out.println(geohash.encode(22.816063,108.376045));
        System.out.println(geohash.encode(30.816063,112.376045));
        if(list.isEmpty()){
            System.out.println("list is null");
        } else {
            System.out.println("list not null");
        }
    }
}
